package com.library.common.enums;

import lombok.Getter;

/**
 * @ClassName: BorrowRecordType
 * @Description: 操作平台类型
 * @Author: hb
 * @Date: 2024/9/27
 */
@Getter
public enum OperateTerraceType {

    /**
     * 前台/后台
     */
    DESK("0", "系统操作"),

    /**
     * 自助机
     */
    SELF("1", "自助机操作"),

    ;

    private final String code;
    private final String info;

    OperateTerraceType(String code, String info) {
        this.code = code;
        this.info = info;
    }

    public boolean equals(String source) {
        return this.getCode().equals(source);
    }

}
